package com.mycompany.baoming.mapper;

import com.mycompany.baoming.entity.Baoming;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/9/1 0001.
 */
@Repository("baomingMapper")
public interface BaomingMapper {

    public int add(Baoming baoming);

    public int update(Baoming baoming);

    public void deleteByParam(Map<String,Object> map);

    List<Baoming> getAll();

    List<Baoming> getAllByParam(Map<String, Object> map);

}


